Maven integration

Maven integration by @Timethor  and @rutgerkok