changed the way to add custom views, now it's more controllable from the registry