Added a way to read server and worker config from a file also started adding some better error checking