require lightblue::java and some cleanup