Lots more work on the Circuit Database, implemented the actual copying and naming of templates