Moved code into its own class, added period at end of print statement