Rename 'tmp' directory to 'cache'
Add smex