removed redundant code from server.py
renamed server.py t views.py