target class moved to seperate file target.py