converted main source/test to a gradle build
left benchmark, unused model, and viewer alone