Create Survey.php

Main Class containing all the functions