Adding documentation

Resolves #9