It sounds as though the company has no product, no traction, and no investment. So, to work for stock alone you should insist on being an equal co-founder -- especially if you are crucial to building the software and taking on identical risk. If he claims you are a co-founder, he should also share the cap table with you for verification and to show he trusts you as a co-founder.