added mining archetypes, fixed the improvement archetypes to use it. and documented everything in the msg.