* rewrote a statement in entity.js
* improved and fixed gatekeeper
* divided models.js to  exports gmDB and InstDB variables
* minor syntax error fixed in redis.js
* gatekeeper test finished and working