A lot of terms used are inconsistent (e.g. schema/structure, keys/columns) are used interchangeably. Refactor code to present one consistent naming system
Discover what each from sqlectron does and comment on how it works
Fixing these should also fix a lot of flow annotation problems