Removed exceptions from server logic. Fixed #7