add model and db
set root path and enable access to index page