Cleaned up main mod file; added in8n support; formatting