split config file in development and production, added index.php to gitignore and added index.php.template