D2 library for games, network applications etc.