Refactored byte array class loader not to use an inner class in order to improve the readability of the code.