Added initial entry model and change test database to in memory sqlite
Added initial entry model, its relationships and tests