Cleaned up Setup object to use built-in python methods for getting variables and setting directories rather than using subprocess and shell commands (security).