Is there enough of a market for the software to support your current employer and a new competitor? Maybe your employer's software is less than stellar because that's what they can afford to produce based on what the market is willing to pay.
Are any of your friends sales and marketing experts? Even if you make the most wonderful product in the world, you still need to get customers interested and close deals.
Can you and your friends afford to self-fund a startup for two years? If not, you'll need to find investors, and investors will generally want you to hand over most of the potential profits in exchange for them floating you the cash.
You could end up working for two years with limited income, no job security, and only a small chance of turning a profit.