Made customisable stream reader

Made it so we can implement our own code into what to do when reading. This can prevent spam.