choosing way for writing the controllers and services