Cleaned up api for ClasspathModule creation