Add htaccess
Remove config from file and fix templates links
Change database shema constraint
Home page reads data from database