Added setup script
Fixed some some small parsing issues.
Added utf8 coding too all files.
Updated some docs.