Added start of language based element definitions. also some tests