code entry point function for start main loading

 - complete the entry point function in `main.js`.
   This function start the main loading,
   and display progress with `BootLoadingScreen`.
   When loading is done, call the `startGame` function.
 - add an empty `BootLoadingScreen` class.
 - add the empty `startGame` function.