updates pry tools and cleans spaces
adds gate concept