Documented BackgroundAgent

Not too many functions there.