Add library to maven/gradle
Fixes #3