introduce the runnable Mine class

Signed-off-by: plysan <plysab@gmail.com>