Added Database and save functionality for Medications