Added ability to save to db and output records to console every time app starts up