moved singe resource creation to separate submodule