Re-enabled package installation commands
Fix missing package installation
Functions separated on functions.sh file
Fixed syntax error
Role/user/tenant relation working