Cleaned up the files and added some docs

- Moved obsolete files out of the root folder.
- Removed files that are no longer used after moving code to use MySQL
db.
- Started documenting the web-service interface