Check for NPE after the gateway is created
Extract joda money version in master pom
Fixes #16
Fixes #18