Path turned into a seperate class