Refactoring of the ballparkdatabase