Create classAdapter