1st implementation of mine factory, added main test method.