update compile task to gradle 2.0 style
Update IO Operations to Java7 style
Improve Test Coverage