Merge pull request #48 from mlloreda/cleanup

abstract common curl call into function
Update install
Update README.md
Update README.md
some fix
info
up
upp
store config path in global var;
`write_config()` responsible for writing config
via heredoc.