Added argument parsing and external libraries.