Stat / Achievement API Added

Added the wrapper functions for the stat/achievement api. It is yet to
be tested.