Converting problem solutions into modules