Changed storing directory
Added Printer class so the output won't get messed up because of multithreading