You should never write a contract yourself unless you are a lawyer. There's a case law which usually involved, and if aren't careful, you might have big problems.
Please be aware that not all lawyers are the same and you can find many who will be more than happy to write a set of terms that are in plain English, ambiguity-free and protect your company against any areas of concern that are legitimate for you to protect against.