Implemented SQLite base work for all entities