restructured files and created PHP web scraper form to get data from the database