adding config file template and common.php which gets a db connection and creates the contacts table if it is not present