update index.js
refactor config loading
add config_override.js to .gitignore
add api_console.js for building api console
remove unused code
add loading gif
add category api
add signin view