Improved runmain to run classes from src/main/java and src/test/java.