Reddit API Wrapper in java and groovy