Refactoring. Use Model class for representing the plate in GUI