initial commit
removed createApplication(), added setContext()