added Success field in server response, minor fixes and comment cleaning