added main statement to files