load sp library