Design Patterns for Multiagent Systems to Elevate Pocket Device Applications