This removes code that is only used within a backend implementation from the backend package. The latter now only contains code that also has external users.