* moved functions to new files
* deleted some files
* refactored stuff