made an architecture builder. #ifdefs added

made an architecture builder, so that the simulation controller don't
have to matter wich type of processor it's dealing with.