modify structure and add gradle