add flexigrid and refactor
finish index page