Made the server more configurable. #1
Convert to cargo project