sqlhandler now static, intialized as a global handler onenable. fixed rpiapi conventions