converter database progress
improved build database and fix empty defines
use absolute pathes and implement dependency resolve