FINAL VERSION WITH COMPARISON MODE JUST FOR EXPERIMENT

1. avg mode
2. median mode
3. comparison these two mode

All data will send to server