add sqlite iface, change module initScope, database