use some implicits
tidy up build file and tweak some more of the code to make it more scala