#8 Added AgentLoader stuff and magic