Reworked ARCH/MACH structure

Signed-off-by: Carlo Caione <carlo@caione.org>