Edited Server Class

Added Append and Write functions