Added bootstrap.js and did some folder structure refactoring.

bootstrap.js handles some common tasks that would clutter the main file