changed syntx of repo methods to be more pythonic
more changes to ad properties and make access to objects more pythonic