* Moving handlers for API requests into a separate file.
* Fixed some bad english.