Organize imports
Throw IOException when an error occured during project generation
Fix code style (2 spaces)