separating controller and services to own files