Added collection function to data-model interface
Changed API-OUTPUT to add status and message fields and automatically structure accordingly. Fixed API page.