improvement on main page and create db script.