I think you're confusing purpose with functionality; they're not the same thing. Designing with a single purpose in mind determines the needed functionality; it does not limit it. Instead, the purpose supports the design decisions in relation to functionality.