added simple application class.