Upgraded version. Now includes a simple web iface.