include apache base class