Reorganization of namespaces

Ok. Problem solved. I added plugin as i said to manage autoloader and other stuff. I changed my autoloader and thanks to that i have one in place of 3. Solution was to change one piece of directory with plugin name.This is my autoloader now:

public function xx_main_plugin( $class ) {

    $array = explode('\\', $class);
    $plugin = str_replace('_', '-', $array[0]);
    $dir =  str_replace( 'in-this-plugin-is-autoloader', $plugin, __DIR__);

    $first = strpos($class, '\\') + 1;
    $path = substr( $class, $first);
    $path = strtolower( $path );
    $path = str_replace( '_', '-', $path );
    $path = str_replace( '\\', DIRECTORY_SEPARATOR, $path ) . '.php';
    $path = $dir . DIRECTORY_SEPARATOR . $path;

    if ( file_exists( $path ) ) {
        include $path;
    }
}