added save funtionality from web form. Added serial read write