Made the constructor take a normal cstring instead of an unsigned char array