adds classes & constructors, completes objects through functions and singletons