Moved second half of gmxana tools to C++