lib.rs: Rework the importing of crates and sub-modules
lib.rs: Rework the importing of crates and sub-modules

We grouped it better and reduced the size of code.

Signed-off-by: Otavio Salvador <1d31b11c1b92bf5d043d36edfe7174db39a6b891@ossystems.com.br>

UpdateHub/updatehub