Fixed inheritance automation, updated objects + states

Parameters were not being passed in createClass. Updated that, verified it is working on my end.
Also added a this._super to every object created with createClass that points to the proto.