Added queries for retrieving software based on module or service id.
Changed parameter of executeSelectQuery method from Object[] to Object... for ease of use.