Seting port in accordance with engine
Seting DEPLOY_MONGO and DEPLOY_UNKNOWN
Add MYSQL and MONGODB constants and add get_engine function