refactoring; made captricityTransfer a module. this will break some existing code.