deps
switch to router package
split handler out into separate package

also stop using pointer for build object everywhere. no need to mutate it.