Added new sqlite adapter

Additions from viki-mobile