refactoring IaaS project into RelayControl project