Split controllers for JSON and HTML into separate folders