moved some runtime classes to fix dependencies
simplify runtime shutdown callback
simplified backendshell + listener classes