added encoding to all files
updated todo