Added name-match and latest-only option

Should fix issues #129, #139 and #158
I'm nto saying that the curly braces on the same line was making it unreadable. I was saying that putting the 4 chained calls and all the instantiation on a single line which was 875 chars long was unreadable