Changing error system, now returning objects. Organized libraries into managers, controllers and util modules. Some work on web interface. Started work on console interface.