Refactor Mssql project.