copied post-commit script to home directory, and added a file with spaces in the name as a test
created commit object to be stored to mongo database
fixed a few bugs in the dictionary creation