changed bytecodeloader to handle generated toplevel classes from generated code