Simple dependency container for C++