Putting database handlers in squarewheel file