API Setup

- [ ] Flask project structure
- [ ] Database models
- [ ] Coding style
Try to avoid using `%` format syntax. use the new `str.format()` syntax instead.
It may get removed in the future. http://bugs.python.org/issue7343#msg95437