Initial implementation
added ability to overwrite loadPath for compass