Added more checks to views.py
Added parser/parser.py so that outsider of parser, only parser/parser
has to be used.