add associations and migrations