.gitignore and logging filtering added.
removed pyc and temporary files.