added api app with implemented restful api
added base template