rename method attachData to attachmentData
rename method createMessageViaView to createMessageFromView;
viewsDir default from view service