Add create_index / drop_index functionality

closes #488