Refactor all code

redesign index page by bootstrap