refactored views and models
deleted unnecessary files