setting links to blog in footer and refactoring

a lot of refactoring on dbContext and viewModels creation