How to decouple Drupal in 2018

A flowchart of how to decouple Drupal in 2018