Major updates to plugin structure and samples.