Improved classloader efficiency

• also some native methods