With newer explanation from USCIS it may be possible to work for the company and be a shareholder ith it. read the link below
http://www.uscis.gov/portal/site/uscis/menuitem.5af9bb95919f35e66f614176543f6d1a/?vgnextoid=3d015869c9326210VgnVCM100000082ca60aRCRD&vgnextchannel=b56db6f2cae63110VgnVCM1000004718190aRCRD
Q12: The memorandum provides an example of when a beneficiary, who is
the sole owner of the petitioning company or organization, would not
establish a valid employer-employee relationship. Are there any
examples of when a beneficiary, who is the sole owner of the
petitioning company or organization, may be able to establish a valid
employer-employee relationship?
A12. Yes. In footnotes 9 and 10 of the memorandum, USCIS indicates
that while a corporation may be a separate legal entity from its
stockholders or sole owner, it may be difficult for that corporation
to establish the requisite employer-employee relationship for purposes
of an H-1B petition. However, if the facts show that the petitioner
has the right to control the beneficiary’s employment, then a valid
employer-employee relationship may be established. For example, if the
petitioner provides evidence that there is a separate Board of
Directors which has the ability to hire, fire, pay, supervise or
otherwise control the beneficiary’s employment, the petitioner may be
able to establish an employer-employee relationship with the
beneficiary.