//TODO need to split application-context