Moved session handler to tools folder