repository passed into definition
added options and getRepository
added target information
getOptions method