Change where config is stored

Also, add pyc files to gitignore. No time to remove the existing ones
right now though.