cleaned up the companies page template

cleaned up the companies page template, pulling all data from the
database, including categories