moved control factory and properties page to platform