Adding Support for custom kinds for photo plugin. Added relative imports for dual installs. Also, added additional keystr api checking for invalid kinds.