An example of dynamically loading extension code in scala