Implemented the ViewErrorMessage method
Made the Run method static
Added comments+minor changes