Add query functionality and twitter card directive.

Add most of the functionality required for the demo.
This would be the end state and additional branches
will be created to show state as the app progresses.