refactored to new module

* Moved this to its own module so that bootstrap & all courses can use it
* Added declaration to bootstrap so the Learning VM is configured