Using parseArgs() in main()
Fix indentation
Goodbye pom
Bugfix in argument parsing algorithm