Text tool added. Some structural changes with the interfaces.