Unused imports
Transaction handling and better request handling