adding support for global secondary indexes. Closes #14