Initial implementation of object type cache. Added the name of the type as an example to UI.

Signed-off-by: Juha Lepola <juha.lepola@gmail.com>