Added a very basic agent model.