Josh: Change methods to private/public, Fix setting extend for defaults, starting Qunit tests in the tests folder