added models and controllers for backend