Replaced grep with awk as grep caused the function to return or exit or something undesirable
Replaced grep with awk as grep caused the function to return or exit or something undesirable
Find the main class to run
Handle classes in a package
Handle spaces in the names
Filtee out MACOSX helper files