Revert controllers.
Cleanup.
Changed license to markdown and updated readme.
Moved configuration to lib where it belongs.