Added view class
Trimmed newline
Added /libraries to be autoloaded
Simplified replacing half of path
Fixed default value
Added swiftmailer for sending reports
Added proof of concept for email reports