added logger
added to TODO
working on file handling