cleanup construct url for graph
use separate classes for IDS resources
add theme class