Added database connect API and create table onEnable