Moved Agents class to main base project.