Automatic conversion for resources providers

This commit provides automatic conversion capabilities for classes with resources providers
Close #1