Added relation support, translations

Hi, check out my changes, you might want to pull them in.