As oldman9 points out, selling shares IS giving up a percentage of the business. Before you do anything else, if you don't understand basic corporate financial issues, you need to get a good attorney and a good accountant. Otherwise, before you know it your software development project will not be yours any longer.