Starting to define routes/paths as constants for reusability and portability.
Modified main controller so that it uses constants for view paths and routes.