Classes to modellayer