add interface for app class