split web and rich-client