A Python DOM thing for terminal UI's