Factoring preview management APIs as separate modules

And factor out azure-common