rest-api: update

- Add API section
- Add examples
- Add REST section
- Add Introduction to Flask
- Add code examples