Add argument parsing for input .3d file
Returns 0/1 correctly on success or failure