Cleanup

Move away from cout and use TMetaUtils::Error,Warning and Info.
Removed old commented lines.
Refined error messages for the final commit