Fix filtering bug.
Add table header.
Add environment variable for database.