working component creation with configuration