Cleaned up some code and have the create route functionality working