Added abstract class to save to database
Renamed method