Learned how to refactor code into classes