Created classes folder and used jsdoc comments to infer obj type