Refactoring move error class
Start to implement MEF