finished db-builder. needs to be tested on other machines and for a full year