templates views started, index.js implemented using define/require