moved sqlite to its own environment