Added index operation and Module exception type
added extra operations and tests