house-keeping
 - moving the methods into bitz::server namespace
 - making it compile
code cleanup