added common interface for applications
added base client class