added backend, added basic load image function.