Finished most if not all of argument parsing and config parsing