Added Initial changes for REST API