added next.js support and added alternative file extensions for entire project generation