Add WAT plugin, add typespec for handle_command, reformat config