Manage class instances with dictionary
