Moving project to gradle