Reconstructing the project

- separate files into folders according to filetype
- fix dependecies