cleaning up snipper class and adding comments