Database model updated for BOM and CUPE

Database model updated so that BOMs and CUPEs can be created and saved