Initial version is completed. See README and TODO and .m script.