System fixes 6. Create routine and routine library. Heredoc syntax fix, removed space after 'HTML;'