Functionalized molecules studied by STM: Towards molecular nanotechnology