Added a basic server struct that can be configured through a JSON file and/or flag