init bootstrap and generate base layout