API redesigned, README modified, COPYING added