Removed sqlite dependent code