a library with some tool methods and decorates functions for WSGI apps and sessions