Moved the sessionhandler from KromaViews into pi