Refined and refactored parts of the bootstrap. A long sequence of functions are called before the game starts. In the future it will support stages for better maintainability. HTML templating also begun.