Replaced dummy data with MySQL backend.
Added paging