Changed public to private in mainBucket
Removed unused imports in mainTool