Changes in init and views. New files added models.py, requirements.txt a...

...nd settings.py with working database in postgresql
Minor issues here. 
1. Keep more than 1 space between the end of code and start of comment.
2. Typos.