Fix error message for AES key + start config refactor
Refactor
Merge branch 'refactor'
Fix a few issues with process and hard reset of config + db