create class to save contact form into db