Created a controller module for the app