Added README file and changed default encoding to a map