Adding doc comments above each method

Fixes #32