Refactored application bootstrapping

The bootstrap process will be used to allow for command line applications
(eg. exporter)
Basic exporter