Refactored the controller
Added badges
Added Tasks for Travis