Reordered code into private and public Fns, added validation for 'sameas' constrain and event handling
Merge branch 'master' of https://github.com/DimitrK/orthos