Changing the hard coded file extension

Instead of having the hard coded value inside each resource class, they
will be all grouped inside the static class. It is why every single
resource class will call the static class with the proper variable in
order to define its own File Extension.