update gitignore
update files mode
move all into an sub file
move api_config to api_config.json