Reorganization and Adding of signals

Reorganization of functions calls.
Close Signals added.
Deleted test comments, updated imports

Removed some comments.
Deleted unused imports.
Need to add the reading from serial port