rework alias support to use a static file, fix issue #90, fix issue #64, structure code so a fix for issue #91 is easier