added structure for app