The Server Code for Smap Data Collection Application