Changes are made to read data from database

There are still something need to be fix. I don't know where to find the CSS url data from the tables. And I don't know how to test my code.