Break-out Cmd module into a file as Shell module.
Define common shell operations as part of Shell.
Break-out Riak module as a separate library.
Break-out Git module as a separate library.
Break-out Snaps_db module into its own file.
Use mkdir from Shell module.
Define main function.