Creating a new library. Tutorial please

I changed the lines that you suggested for the Morse library.

I tried this sketch:

#include <Morse.h>

void setup()
{
}

void loop(){
  Morse.dot();
}

I get this error: expected unqualified-id before '.' token

Why?