Modulerize spec_helper and remove globals