added comments
Added static LogMessages to use thoughout the plugin