Fix Generator + add HACKING.md Documentation

As per title.