Created model and routes