Creating main component.