removed async where unnecessary
added roots-util and path
finished tests