add instantiate_helper class with some basic unit tests

Signed-off-by: Rafał Malinowski <rafal.przemyslaw.malinowski@gmail.com>
improve impelemtnation of interfaces_extractor class

Signed-off-by: Rafał Malinowski <rafal.przemyslaw.malinowski@gmail.com>