Refactoring and cleanup of code

• make sure that all documents related to classes and team_members are deleted when they are removed in the form
• turn hard coded texts into static strings
• add student count to class detail view
• improve styles
• remove unused file