seperate into models views and controllers into respective files