Database configuration, Models and Functions (findAllEvents and save)  were added