Improve quantum recipes code

now with separated server part from common_install.