minor fixes to tabs styling
refactor spec/extensions directory
refactor query model
add 'duration' attribute to query model
add basic graph headline view to all pages