todo 0.2: added save method on server