tweaked pelagios model; checked out migration scripts from ocre branch