index.php, ui.php complete.

1.	Fix UTF-8 encoding bug for windows.
2.	Importing bootstrap and create template.php, bootstrap.php.
3.	Updating necessary function for ui.php to set default theme.