implemented most of new builder system

will compile and run.