start refactoring graphic components