refs #1 , complete working code for initial system of buildit