REST API developed

REST API developed and some DB changes related to API.