Rewrite core JS in modular style.
Rename themes and change some other theming-related stuff.
Fix the API description page.