Web api  styles refactored