io: added moves to import_from_pksql
database/queries: added get_move_pp
database/queries: code efficiency and better error handling