updated build system and examples