updated and added files to support custom views and custom attrib for demo code