Fixed bug with key extraction
Added better readme