Finished off server class.