setup ulr pattern /api/:method and handler which resolve this request to correctservice method (action method in MVC terms) we do not have controller here today, but it is easy to add it if it is required.
add api.js to work as controller which holds service methods.
stage files deleted from linux shell,so it get deleted from git repo.
Merge branch 'master' of https://github.com/lxzhu/wallet