moved class to own file
implemented configurable ring buffer as history
added logging, increased buffer size to 3
created sub-functions; use multi line buffer (5); more debug output
Merge pull request #2 from Chaos99/iterator_improvement

Iterator improvement