dependencies required via global object
namespace and basic tests
further refactoring and tests
simple mock require with troop
build folder renamed to "out"