configured pg db
implemented task #2
defined new date formater method to parse date in index view
added new methods to format date
refactored helper
removed method in helper and used strftime method to parse date in view
Merge pull request #2 from ibrohimkhan/model

Model