Build restful web service with data access.