added spritelib init