reorganized code

new logger module contains Logger class which
now contains all the basic functionality internally

(also structures code so that i can add in real-data stream reading)

NOT RESISTANT TO ERRORS AT ALL EVER
(i'll work on that after i get some other stuff working)