Implemented model class