linked views and tools to StateManager, added collection to manage tool models