Adding  SQL support for storing settings/permissions.
There are some problem like when loading setting but it shouldn't matter as long as you don't manually change it. [For Now]