Implemented Target class. And added simple console output.