Cleaned up and added javadoc to controllers and the main application's class