Moved domains and their regexes to the database

Also moved the TV image to a different file, which will be added back
once there is code to support it.