Remove unused use statements, fix comments

I removed unused use statements and fixed some outdated comments

Moreover I added spaces before open braces of classes/functions.