In the process of adding additional comments and converting my code functions into a class object