Implemented textures + small fixes