Magnetic and Electronic Properties of Supramolecular Architectures on Metal Surfaces