Refactored the controller code.
* Removed unwanted method.
* Renamed the home method to convert.