simple routing with db connection etc