Food laws in Texas are regulated at the County and City levels. You must check the laws for your County (Dallas) and City (Flower Mound).
In the very least you will need the following: Food Managers License, State Sales and Use License (for collecting and filing State Sales Tax which you must file on a Quarterly or Yearly Basis), and become a LLC (This will protect your personal property from any lawsuits if someone attempts to sue you). You should also look into acquiring Liability Insurance.
Even if the Cottage Law passes, you cannot certify your home kitchen unless it is completely closed off from the rest of the house. This means if your kitchen has an open area to any other part of the house you are out of luck. You also will need 3 sinks (Prep, Dishes, and Hands). If you have any inside animals... nope, can't certify. Pantries and Storage also will have restrictions (nothing sitting on the floor, items MUST be on shelves), Separate refrigeration for business food items. Refrigeration MUST maintain a constant temperature.
Oh yes, and this isn't EVEN looking at the new FEDERAL laws that they are trying to pass now..... These are so bad that there is fear that the government is going to run small business OUT of business.
In order to make any profit, you will have to add ALL of these business costs into your product. Otherwise you will go broke! You will NOT be able to complete with Walmart or your local Mega-mart on your prices. They WILL be cheaper than you. They are larger and have more buying power. Until you have the sales to support your budget, do not get sucked into buying everything in Bulk. Your inventory will over run you.... of course then there is the whole Storage issue too.
It burns my cookies to see someone start selling their goodies and they sell them at or below Walmart Prices. That is always a sure sign that they have NOT gotten all of the proper licenses.
Bottom line, do your research. There is ALOT more to selling edibles than just baking something and selling it.
D.