added an utility function.
added wrapper scripts.
cleanup Makefile.
added an option "-E" this option invokes "empty mode".
added a separate database mode.
removed obsolete scripts.
stopped unneeded outputs.
removed the unused part of code.
fixed bug that rebuilding the database break the database.
added an error detection.
fixed a bug of the wrapper script.
added a test.
updated a test.