Fast loader, improved feature extraction

Implemented a much faster loader by using MERGE commands,
eliminating all GETs, and batching everything in size of
350.

Fixed bugs in the prepare script and improved the code.
Fix type in graph, handle error in loader if no from field