Extract codes to register service for the version
Give required parameters