cleaning up resources to separate folder