Changed validatinator core to use object literal OOP.