-added reload and version command
-fixed sqlite compatibility
-reworked tables creation
-fixed AccounType detection bug