Sets the routes contraints for the api
Sets up api versioning