new controllers, routes, view and tests for betting module