Updated to gradle project, and updated to build with custom library implementation