Added documentation and name of key can be changed now