Reorganized and refactored the entire code

* Adjust the layout
* Added accuracy view
* Changed the initial paramters (sampling rate, graph refresh rate,
etc.)