Return application context, not very correct at the moment