Break the reader thread out into its own class file