Added bootstrap, added require.js, refactored existing code