Preview of single player mode

some parts of the code in index.php are being reused while providing single player mode, in singleplayer.php file. The parts reused from index.php are stripped of and made as seperate files i.e. navbar.php, modules.php, indicators.php in home folder and styles.css in assets/css.