Generate models
Define routing