Create a context

Creates a new application context.