Java like library for C++