Changed VERSION property to _VERSION
refactoring of allow/deny and more tests