Fix group_nodes_by_package_version
Cleaned up makefile, added jinja2