code formatting
added main controller