Cleanup and beginning of documentation

- Removed some unused constants
- Started adding line comments
Some more documentation and deleting files works now

Started adding more comments and fixed server-client desync. Also adds
POST /deleteProject