Refactoring element Model, putting all styles in proper area.