Model Jsx files and relations

Closes #149