save notifications to the database
cleanup remove unnecessary files and code