replacing some new .php helper files with .py ones
bugfixing
minor bugfixes