Migrate state from file to database
Refactor impersonate to be less ugly
Fix upgrade from state file to db table
Fix KeyValue store
Fix manager
Fix (?) impersonate on U6
Fix execution and module