Add config and product classes, use RVM ruby to run commands, tests