drafted some models and controllers