added get_object_to_run
refactoring
deleted __main__ tests, finally