schema created on instantiation, added pre, post, set, get, virtual methods to model, using node util.inherits for pineapple.utils.inherit