Remove settings and add DI

Remove settings Session database and read settings from bootstrap (Session) $di database