restructured to build bootstrap and copy over