Implemented usedGas to the explorer
Reimplement -datadir flag. Implements #79

The config file is actually loaded from the folder that datadir points at