Fixed NullPointerException because of wrong instanceof check
Facade pattern added; course done