Split APIs into different view files