WIP: [NEXUS-6027] remove appcontext

https://issues.sonatype.org/browse/NEXUS-6027