Created select operation.

Now we have a select operation controlled by the
application. It receives as arguments the level
of selection (file, row, string) and a instance
of messagefragment that stores the needed
information to select the desired item.