added binary (that just outputs version number)
added server class and retrieval of urls from root