Functioning Class Commit

Finally got it to do what it was supposed to do.