drop old code; use simple-rpc code, and build with waf