chmod
add upload specs, fix some problems, add testing for different
mongoid