reorganize some files
update some gems
small refactory to add more security
small refactory to cleaning specs