Move project to gradle structure