Built the main components