First commit of the .mode (cloned and adjusted from ASP-HTML, and still very rough and incomplete)