Added associations to model files, set root url.