use unicorn webserver
add basic api functionalities