Added snapshot feature + added configuration through file