added pipe class and finished loading screen