Added ResourceLoader class