Add TODO file.
Add some documentation to main.js