removed default main fucntions from all new classes.