Algebraic structures of tropical mathematics