added index.js with basic requirements