issue #3 Web: Show traffic

fixed mysql class
added redirect class

still todo: add table pagination and search function