A partially working navigation w/permalinking support

Also reorganized frontend asset structure.