further clean up
fixed requires and function names
cleaned up app.js
clean up of package.js
switched to local config files
prepared testing framework
added common authorization tests
readme corrected