General code cleaning; added gitignore for .pyc