Added new mining system

I added a new mining system and got ready for a fully fledged resource
and inventory system. I also updated the LOG file and removed some
useless comments.