Relationalism about mechanics based on a minimalist ontology of matter