Refactor and improve bootstrapper.
Add window object as global.
Add document dependency to RequestRouter.
Fix comment.
Add lost files.