Moving file logic to a service.
Removing old resource files
Moving commands to servicecs and removing files