fixes #11. #13

Target now a dynamic object supporting a much more flexible language for
defining it