remove unused css
split up main.js

Split main.js into a bunch of domain-specific files.
Should be easier to maintain & digest.