using Yaf_Registry for registering models and libraries, rather than storing on controller
changed model references to use registry rather than controller
bug fix
changed controller - no need to set controller properties with static instances, waste of memory
removed model and library properties from loader - now using registry
update to model - removed pointless resultsets array from model