Database performance

Improve performance for SQLite database, drop usage of column rowid, switch to auto increment id columns, rename return related columns and add a new sample content.