made user / repo variables
first version of extract directory function addes