Create gradle project files and restructure project