Implementation of /pref endpoint
Merge pull request #54 from smarthi/suneel

Implementation of /pref endpoint