Scafolding for object generation.
Object add init and validate functions.
Object adds constructor and validate functions.