extract auth classes, re-namespace module to Lionel, merge cli tasks