rewrite loader/parser
fix bug, loader, save dbnum in loader