added function to cehck if a virtual directory exists and create one
Fixed and debugged the create function, added list virtual directory function