:gb: Refactored out Cord into separate file