Moved main code to a mixin and cleaned out the spiders