Use a model and bind the view to use this model.

http://docs.joomla.org/Developing_a_Model-View-Controller_(MVC)_Component_for_Joomla!2.5_-_Part_04
Signed-off-by: Richard Quadling <RQuadling@GMail.com>