Add make targets, improve commit logic and comments