Refactor main.js; Change to main.jsx
Update router.js to use React.createFactory
Add documentation to text-box.jsx
Fix entry for webpack