Fixed usage of configuration. Added EntityFramework to console host app.