sort out the build process mess
update readme and examples