Small code changes, remove .pyc files