add: gitignore, clean target, code cleanup for nicer output