Removed debugging code on Main() left by accident

Should probably use a mock to ensure that is correct