adding web intf, fixing tests and build tool