Added User model and initial db internals