Maven, lawrence and new java lib

using the new java lib, maven and adding lawrence still has some bugs, please review.