Refactored the logic for finding the assemblies when bootstrapping the application.