Implemented theme copying and instantiation