Revise web application structure to support RESTful web services