add constants, move Tools.h into Common folder