added new rest-api module