clear master branch and add code base with RESTful implementation.