Add Codes controller and route