Changed theme questions from a proc to a tail end recursive method and

added in a seprate module