[New] refactored Locator

Now added method to add single element, or get parent. Also removed
restriction for element to have at least three elements. Now one element
is sufficient.