Jhbate/add to seagull

@cheddar could you do a quick check of this please? I left the call to collections generic (rather than specialised for profile / groups ) for the flexibility it gives me at this stage.