added base spider class to resolve encoding dilemma.