compile project with gradle
Code clean up. TODO: testing with gradle for both robolectric and instrumentation tests.