Moved date functions to config
Improved index page layout