Migrate project to gradle structure, implementing demo application