Move snapshot, reformat code, and add test folder