rewrite all classes into single one
compilation
refactor and fixed bugs
better way of load image function
changed return
initial version