WIP: Extract procedural logic and data to objects
WIP: Extract JS object construction into individual files