allow call from external server; move client file to client module; add tomcat plugin to client