Simplifies parse_* function's arguments

-makes these functions receive only two arguments: ts and elements
-`parse_args` becomes simpler
Removes warnings when -Wall is used
Merge pull request #20 from ffunenga/simplify-parse-functions

Simplify parse functions
make README step examples work from fresh checkout