db refactoring: field class, field order and naming;
fixed app version logging;