Fixed indent error
Simplified imports

Removed the "lib." from the references to the imports in the code,
making it easier to read and maintain.
Fixed and simplified imports

Replaced "from x import..." with "import x". Removed the "lib." from the
references to the imports in the code, making it easier to read and
maintain.