Fixed bug if db directory cointains non-directory files,
Added AbstractTableCommand to avoid code duplication.
protectect load -> private load
changed put strategy