MDL-39854 reimplement frankenstyle support and add classloader