added Makefile
moved parser into makefile