removes comments from routes
adds constraints for the api