Refactored code for Quyay dev launch