Set up detection logic for when server should send widgets along with page.
Add file for defines.