Move manager to it's own package so it can import db. Move all references to the in memory session repos to use sqlite3.