adsf
Use ruby script for deploy insteed of shell script. Move all deploy logic to the script from tenant model. Clean some things.