added infrastructure for scala implementation by stefanholzmueller
declared interface implementing methods as override