new settings for dev supporting sqlite
move header and footer into base template for better control