Write some tests for the controller and router and added a controller folder