Refactoring EF configuration + adding opportunity to apply configuration...

... on EF directly