Moved appearence code to seperate file