metadata gen

related to #122
the new methods are now defaul and old ones are removed from the code
note: don't forget to run doctrine-cli (guide on: http://jagger.heanet.ie/jaggerdocadmin/update.html)