Update for trigger readablity
Add alternate last_insert_id at trigger
Refactor Document AbstractDocument
Move Resource component to Flower module