Updated to gradle. Still many problems to fix thou