Cleaning up code dependencies and gradle script.