Cleaned up whitespace
Renamed tracked_link to queries_link
Changing parameter passing to provide better url param names
Refactoring into rough database and UI components.

Trying to decouple the web UI partion from the graph analysis and
database parts.