Added basic server api to access json