commiting the rest
inital code for starting server
finalized implementation + unit tests