Class implemented for storing db data. Methods too.