added mobile.c and mobile.h
started working with saving in mobile.c