fixed read-line, extract and pack-dir primitves, added number of lines primitve, fixed current directory issue (like in ea3eee771b1dc96439411fb599aa29ca17579bd5), extended readme