Changing table names to ids
Added system table ids and helper functions
Added base "db.json" to share between project instances
Added table entities and names to db and removed useless functions
Added entries to "entityMap" with helper function