added logging + basic unit testing classes
routing works sorta better now but is probably implemented wrong