make some variables and functions unexported, remove unused Repository struct
remove gorilla mux dependency