deleted unused files and proper code formatting in models and controllers