Instantiate apache class