Start of explanation of working of agent.
Also pass scheduler through bootstrapper.