Moving version api objects to a separate package

Change-Id: I05d575f9db996adee35cc166caebbf4b6643f36f
Adding secrets api support objects

Change-Id: I50f691b94a3cb1e49e91d42da74338c560e8deac