Fixed wrong function name getByKey should be getByIndex
Prepared version number 0.0.7
Fix wrong call to $log