created macros for id generation of class instances and converted DoV to Scape