Optimized Assemblyloading and moved some stuff