integrate plotting; set up default ns
refactor backend to use Component
remove data