Change to gradle for easier setup. Make sure the code can run on any machine