Use varargs for main() arguments

This will ease the use of this method through programmatic means