Creating a custom module based on Quotes

I am thinking about creating a custom module much like Quotes where a related modules records can be added on the same form as the Record/Create of the parent record.  This module would be much simpler than quotes and products would not be involved but I cant find any information about adding the part of the view that allows line items to be added.

Has anyone done this?  Are there any examples or posts out there about how to do it?