added autoloading mechanism

added autoloading mechanism using JLoader::registerPrefix;