refactored all code, todo: save state to hd
added all folder
changed gitignore
merge