some fixes
change interface to work with new basics version, add new constructor
update to new build system