Added foreign keys enforcing, added reading of authorship uuid