Implements constructors in an inefficient way
Refactors constructors by implementing methods using prototype