Implement local meta and settings using sqlite