Added git ignore file.
API methods and implementation.
Added new API method dump.
Fixed wrong default message.
Cosmetic changes.