Implemented getVersion API call #729