First version of working build system