Added handling <mainclass.properties> support in BaseUtil