Cleanup Mac related contents, move rvm functionality in