import external graphing lib
update gradle build file
some other formatting fixes