Created interface for app. New class for Promises