Created implementation for the database. have'nt tested it yet.