Did some cloning work

Still need to implement deep clones for Foreign Keys to setup the new
references to tables and columns created from deep cloning. Also need to
pull out dll's and exe's from commits (sorry)