force java 7 on compile
reorganize and adapt gradle build to allow better automation. Dirs now reflect packages