Packaging and main, arguments parsing.