Added documentation that will be generated with appledoc.
Fixed some method names.

Signed-off-by: Esteban Torres <me@estebantorr.es>