Basic notes and todos working without major race conditions.

Code should certainly be cleaned up a bit, though.
Add static file.