Updated html description code to be behind a proper interface. Set new convention for mode traits/interfaces.