Edit .gitignore
Add missing types to safeRemovePayload, fixes memory leak
Split parse.cpp into usual file structure