Added a mining program and did a few tweeks