Formatted code, added Log and OreDictionary for mod ore support