Added readme.md file generation
Cleaned up index.js from unused methods