- Adding main and making data simple objects since the server checks the
data for validity