Add a class to return profiles

Signed-off-by: Gawain Lynch <gawain.lynch@gmail.com>