In my town, which is a very small industrial and farming community, we have a local chamber of commerce ... they have put together a group called SCORE, which is basically a bunch of retired executives that help out small business owners, for free ... this town has the benefit of attracting a lot of retiries from big cities, so there's all sorts of executives in the pool. Maybe some organization in your community offers a similar service?
Failing that, don't think of hiring an attorney as expensive - think of it the other way around, not hiring an attorney can be very, very expensive for you!
I'm not sure how the law works for your country, but over here in the USA, you would deffinately want to setup a shell corporation or LLC, to protect yourself and your family assets (house, car, land, college fund, etc) ... you would transfer the rights for your software to your corporation, and then the corporation would sell or license the software. this way if for some reason, the product your software is embedded in causes a liability issue and the "lets sue someone" feeding frenzy starts up, a well structured shell will protect you from the brunt of any attacks - sure you'll lose the corp, but it really just existed on paper - you won't lose your house and land and other assets.