Simple Class for interactive with database