added a root url property
added directory up functionalities