Added simple REST API to web app