Add support to use generic views and templates when developing plugin