Move api from lib to app.
Update vagrantfile template.
Add hot reload feature when api code change.