Better movements for mining program
Cleaning and bugfixes