Added Documentation, Changed logging system to FIFO