Added sql scripts to create and drop the database
removed obsolete IdDispatcher
replaced monstrous BigDecimal arythmetics with plain old double one