Removed unused commands and variables, added .gemrc setup.