Clean code sample for creating a block when a new term is added. A similar technique could be used to create views when new content types are added. Link http://timonweb.com/posts/creating-content-blocks-programmatically-in-drupal-8