Commit submodule state.
Removed print statements and added a logging interface.

Related to #51.
Updated ignore rules.