restructure folders

- folder structure and xcode project structure finally match
- reorganize files to conform to best practices