Implemented index.js and so on.