added base.html
extending templates
added hours_ahead template
database config