add django transaction support in data api
update server start script
implementation saving/retrieving lattice type function thru web service
add unit test case for web service