#19 REST API
add POST and GET api with some database work.