refactor code to change project structure to gradle