Jm/expose config gen

Make it so config generation is in a class which can be accessed from other repos which require the new ec-metal gem.