fixed model and added default values for templates
generic view and barchart added
proceeded with views