Modularizing code for SearchIO-Writer-BSMLResultWriter as per http://www.bioperl.org/wiki/BioPerl_Modularization