Added a config file for the serer and made sume bug fixes