implemented scgi and basic interface (incomplete)