background for text when using graphics, added basic agent class