[FABRIC-429] Abstract out profile storage
Work based on Stan work at 8d662cc6ca0d709177725d2da6b1a66d71187002 and following commits