Reusable Functional Modules for Supporting Active Learning