init with RESTful app: myapp