renamed some packages and moved classes, also implemented jaas
integration for authorization
added javadoc and some default secure functions