Refactor generator index

Separate files for init and project files creation.
Refactor Tests

Added specs for each part of the generator.
Added chai and sinon.