convert to gradle build
some cleanup