Added resource manager implementation + shading the API