Added header options and hacky URI parsing
Changed name of binary
Separated main from server.cc