added Redis database selection, readme update + comments format change