Refactored Mine for more general use. Added mine function for easy calling of Mine.
Refactored Mine for more general use. Added mine function for easy calling of Mine.

JesseWeinstein/iamine,jjjake/iamine,dattasaurabh82/iamine