How to design a framework for software testing in cloud- a generic framework

Hello!
Can anyone help me to design a generic framework for software testing in cloud,which is independent of platform, tools and browser. please share general layout or idea to start with. Guide me how to start and where from.What are the other supportive tools required to design a generic framework, any layout etc.

Thanks & Regards