moved python_only decorated main module
python_only now accepts functions and methods
added python_only where it was missing