Classical non-Abelian gauge theories in the space of reference frames