add a method for pulling the whole repository
add a method for appending the slash to dir if it already exists