Add a Program.getModule() function to retrieve by class name
Use single query to check for program modules