Change backend to entity framework and sql database