Basic functionality of the USAW database lookups.

Ugly, but it's working.
Tidied up the database searches.

Styling is still missing, looks decent though.