added sqlite ref/dll, added play/stat class