Switch to Makefile from template
Fix some unused parameter warnings
Update README for env info