Refactors script to follow conventions of other importers and adds some features including like import, processing of post raw text, and, if needed, SSO import.