allow arrays to be passed as non-factory params
add session handler factory
reorganize logging
remove namespaces from tests