adjusted source view implementation

moved example code + used handlebars code from npm module + checked if
sourceView code is needed per task or not