Python port and initial support for RPM

**Note:** PR will delete old scripts originally written in Bash.