Added gate entity
Added STOOL

+ Fixed entity model
Added debug messages