Added def() methods to constructor. Prevented static property inheritance. Added package.json