Refactor into functions that are small and actually readable
Add Makefile to easily reinstall package
Add messages for sucessful create/update