add gitignore
Adapt code to generate PDF instead of PostScript output

Moreover, some code restructuring was done.
Add a Makefile
Add GPLv3 license text
add README