restructure and rework roundup

new routing
reworked db handling/usage