use cherrypy structure, abandon rest layout (only GET and POST were used)