database build script completed

small correction in ExtractKey mehtod (mp.py)
sqlite: added a field in keys table (frame_index)