Added function new which loads the subclass
Add id
Revert from bad rebase