Fixed a few issues with original variable, also added toString, hashCode, and equals methods. Also renamed class with a better name and made an interface