Added resource manager and made it possible to render textures as well.
Added texture property class and fixed the resource manager