Configured repository to work with DB

DB is created using code first