Begin maven support

Lots still to do..but a start.