Added comments
Removed useless variables
Added dev dependencies for github pages documentation support