Fixed the main module. Added an example module.
Updated gitignore.