Added INDEX on results.submit_date (for efficient paging)
improved comments in CORS decorator
fixed mistakes in the API implementation (fields that are not needed / intended to be there)
improved documentation (proper README, API documentation moved to a separate file).