fixed issue #14 - access.py code moved into model