refactored StatementManager, added auto admin registration