move into gradle so I can easily build a jar