added sub app and theme