added logger and literature and did some improvements