Added top/bottom, license, ability to keep middle open and a few comments