Split project into library and cli utility
First steps in reconstructing stacktrace