Create routes and post model