Added path class to make path handeling easier.