installation and staging

all scripts now in top-level directory
installation updates

install script copies global-defs file to staging area if it is not
already there.
test now part of installation