Add method getVersion on BaseService

Add method getVersion on BaseService