cleaned up and improved the "simple" interface

Signed-off-by: Jan Dvořák <mordae@anilinux.org>
added COPYING file

Signed-off-by: Jan Dvořák <mordae@anilinux.org>