Added support for LOCATE operation

Technically this isn't me adding this, so please remove my name from the todo.