Move code around to make it simple to write Scarletoids, Scarlet bots with custom commands and plugins.